﻿<%@ Page Language="C#" MasterPageFile="~/MasterPage.master" AutoEventWireup="true"
    CodeFile="lien-he.aspx.cs" Inherits="lien_he" Title="CNS-Media" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="Server">
    <h1>
        Liên hệ</h1>
    <p style="text-align: justify">
        <i>Địa chỉ:</i> Lầu 2, 25/7 Nguyễn Bỉnh Khiêm, Quận 1, Tp. Hồ Chí Minh, Việt Nam
        <br>
        <i>Điện thoại:</i> +84 8 62751580 - <i>Fax:</i> +84 8 39118615
    </p>
    <p align="justify">
        Hãy liên hệ với chúng tôi bằng cách sử dụng mẫu dưới đây, nhập tên của bạn, địa
        chỉ email, thông điệp sau đó nhấn "Submit". Cảm ơn bạn!
    </p>
    <p>
        <table>
        <tr>
        <td colspan="2" style="text-align: center;">
        
            <asp:Label ID="lbMessage" runat="server" Text="" style="color: Red;"></asp:Label></td>
        </tr>
            <tr>
                <td style="color: #0750a3; float: left; font-weight: bold; width: 120px;">
                    Họ tên
                </td>
                <td>
                    <asp:TextBox ID="txtTen" runat="server" Height="25px" Width="200px"></asp:TextBox>
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" ErrorMessage="*" ControlToValidate="txtTen" ValidationGroup="submit"></asp:RequiredFieldValidator>
                    
                </td>
            </tr>
            <tr>
                <td style="color: #0750a3; float: left; font-weight: bold; width: 120px;">
                    Địa chỉ email
                </td>
                <td>
                    <asp:TextBox ID="txtEmail" runat="server"  Height="25px" Width="200px"></asp:TextBox>
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ErrorMessage="*" ControlToValidate="txtEmail" ValidationGroup="submit"></asp:RequiredFieldValidator>
                    <asp:RegularExpressionValidator ID="RegularExpressionValidator2" runat="server" ErrorMessage="Invalid email address"
                                        Display="Static" ValidationExpression="\w+([-+.']\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*"
                                        ControlToValidate="txtEmail" SetFocusOnError="True" ValidationGroup="submit"></asp:RegularExpressionValidator>
                </td>
            </tr>
            <tr>
                <td style="color: #0750a3; float: left; font-weight: bold; width: 120px;">
                    Thông điệp
                </td>
                <td>
                    <asp:TextBox ID="txtMessage" runat="server" TextMode="MultiLine"></asp:TextBox>
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator3" runat="server" ErrorMessage="*" ControlToValidate="txtMessage" ValidationGroup="submit"></asp:RequiredFieldValidator>
                </td>
            </tr>
            <tr>
                <td>
                </td>
                <td>
                    <asp:Button ID="btnSubmit" runat="server" Text="Submit" ValidationGroup="submit" />
                </td>
            </tr>
        </table>
    </p>
</asp:Content>
